home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Whiteline: delta
/
whiteline CD Series - delta.iso
/
tools
/
utils
/
akill
/
addkill.doc
next >
Wrap
Text File
|
1995-11-25
|
11KB
|
266 lines
Addkill
=======
Dislaimer
---------
I cannot be held responsible for damage to any system whether hardware or
software caused either directly or in-directly by the use of this
software, you use the program entirely at your own risk.
History
-------
Addkill started off as a simple program to remove headers on ZIP
archives that I downloaded from PC BBS systems (some of these were
over 2 pages long!).
Then I discovered that some of the archives were corrupted and caused
my program problems , so I included a checking routine to test the
archive before removing the header.
Then I thought , why not add more formats and as is usual the program
grew out of all of my original expectations.
The name however stuck.
What does Addkill do
--------------------
Addkill will check the following format archives ZIP LZH ARC ZOO
If it discovers problems with an archive Addkill will either move it into
a sub-folder called ADDERROR within the original archives folder or a
single defined folder.
So a file in c:\bbs\apps\ with a possible problem will be moved into
c:\bbs\apps\adderror\ or your single defined folder and a note logged
in the log file.
it will also on request remove any headers from ZIP or LZH files
(I will include ZOO when I'm 100% sure of the format) , the event is
then logged in the log file.
It also on request, replaces entries in FILES.BBS with the description
in FILE_ID.DIZ or .UPL files if present in an archive being tested.
It can alter any outstanding .TIC files for archives with headers removed
with the filesize and CRC being updated.
It can be told not to check archives/remove headers from files younger
than XX days old.
Any errors/headers removed are logged.
Configuring Addkill
-------------------
Create a folder for Addkill to keep it's data files in.
If you want the 'bad' archives to be stored in a particular folder then
create that folder also.
To make Addkill run automatically you need to create an ADDKILL.LST file
this is just a list of the drives and paths you want Addkill to check the
archives in and is of the following format (example in archive)
l:\fdt\download\ l:\fdt\download\
j:\bbs\general\ e:\bbs\apps\
i:\bbs\apps_1\ e:\bbs\apps\
h:\bbs\accs\ h:\bbs\accs\
e:\bbs\APPS\ e:\bbs\apps\
h:\bbs\archive\ h:\bbs\archive\
g:\bbs\bbsprogs\ g:\bbs\bbsprogs\
e:\bbs\dtp\ e:\bbs\dtp\
h:\bbs\comms\ h:\bbs\comms\
h:\bbs\demos\ h:\bbs\demos\
g:\bbs\disk\ g:\bbs\disk\
e:\bbs\falcon\ e:\bbs\falcon\
f:\bbs\games\ f:\bbs\games\
K:\bbs\graphix\ k:\bbs\graphix\
h:\bbs\language\ h:\bbs\language\
g:\bbs\magazine\ g:\bbs\magazine\
i:\bbs\mint\ i:\bbs\mint\
f:\bbs\mod\ f:\bbs\mod\
h:\bbs\music\ h:\bbs\music\
g:\bbs\packers\ g:\bbs\packers\
i:\bbs\psion\ i:\bbs\psion\
h:\bbs\rpg\ h:\bbs\rpg\
h:\bbs\spectrum\ h:\bbs\spectrum\
K:\bbs\ibm\ k:\bbs\ibm\
K:\bbs\doom\ k:\bbs\doom\
i:\bbs\other\ i:\bbs\other\
g:\upload\ g:\upload\
h:\bbs\semper\ h:\bbs\semper\
h:\bbs\jetmail\ h:\bbs\jetmail\
f:\bbs\nodelist\ f:\bbs\nodelist\
f:\bbs\bbs\ f:\bbs\bbs\
The first drive and path is the path to the archives , the second is the
path to the related FILES.BBS file for that download area , this is in
case you have a single FILES.BBS file for more than one download path (AKA
OCTOPUS BBS)
If you don't want to use the FILE_ID.DIZ/.UPL feature of Addkill then you
needn't include the second path on the line , but you MUST make sure the
last path in the file has a carriage return at the end.
If you want to use the FILE_ID.DIZ/.UPL feature but don't want to use it in a
particular area then just miss out the second path on the line containing
that area.
If you are going to use the FILE_ID.DIZ/.UPL feature then you may want to
create an ADVERT.DIZ file , this is because a lot of PC BBSs' now add a
small advert for their own BBS onto the end of the file_id.diz files , any
text in the ADVERT.DIZ files will be removed from the description before
being stored in your files.bbs. (example in archive)
This file is just a single line (maximum 50 lines) for each bit of text
to be scanned for, make sure the last path in the file has a carriage
return at the end.
<THE GATES-7771-113-5023/0644/5641/7633 >
Call The Tavern BBS 0181-445-6514
Running Addkill
---------------
When you first run Addkill you will automatically be asked to configure
the program , you will be asked the following questions.
Whether you want to remove archive headers.
Whether you want to replace file descriptions with FILE_ID.DIZ if present.
Whether you want all 'bad' archives to be stored in one folder.
Whether you want to update any outstanding TIC files.
based on these two answers you will be asked some/all of the following
questions.
What Type of FILES.BBS entries you want written out
----------------------------------------------------------------------------
There are 3 options , the types are
1) Line , this is where the file and description are written out in a
single long line
2) plus , this is where the 1st line is the name plus part of the
description , the next line is the next part of the
description suffixed with a space and + to denote a
continuation of the previous description.
example.
--------
ADDRESSE.ZIP [1] Address management as ACC/APP, dialogs in windows, coloured
+icons,online scrolling/searching, dialer, XACC, drag & drop, in-/export,
+full text search, 3-step sorting, birthday warning etc.The demo loads only
+50 addresses, but can be upgraded to the full version with a key (available
+from the author).
2) space , this is where the 1st line is the name plus part of the
description , the next line is the next part of the
description suffixed with 13 spaces to denote a
continuation of the previous description.
example
-------
ADDRESSE.ZIP [1] Address management as ACC/APP, dialogs in windows, coloured
icons,online scrolling/searching, dialer, XACC, drag & drop,
in-/export, full text search, 3-step sorting, birthday warning
etc.The demo loads only 50 addresses, but can be upgraded to
the full version with a key (available from the author).
Option 1 uses the least space but is difficult to edit using a text
editor.
Option 2 uses more space , can be edited but not all BBS systems support
this type of entry.
Option 3 uses the most space but is more likely to be supported by your BBS
software.
The choice is yours.
----------------------------------------------------------------------------
Maximum Length of the BBS descriptions.
Number of minutes to run (0-999) 0 will run without stopping till all
archives are checked
Number of days before removing headers (0-999) 0 will check all archives
regardless , any number
will stop Addkill checking
the file until the file
headers shows it is at
least that old.
The reason for this option is for systems that pass files onto other BBS
but want headers removed , normally changing the CRC might cause the file
tosser to error out on the destination BBS receiving the file (CRC error).
By limiting the files to be changed to only those over XX days old then
all your systems should have received the files by XX days and it is then
ok to remove the header without affecting others.
Using the .TIC change option will stop the above problem occouring , but
please note , in some networks , changing any archive being passed through
your system to another before they collect it is against the networks rules.
The Path of the TIC files (file selector) , clicking cancel will stop any
turn off the TIC changing.
You will be asked to click on the various archivers , clicking on Cancel in
the fileselector will cause the extraction of the FILE_ID.DIZ from that
archive type to be skipped, evan if one exists in the archive.
The Path AND Filename of the Log file to use (file selector) , clicking
cancel will stop any logging taking place.
The single Path to store the 'bad' archives in (fileselector), if you
choose this option earlier, you WON'T be able to abort the choice of folder.
The Path to keep it's data files in (file selector) , if you hit cancel on
this question you will be asked if you are sure you want to abort the
configuration , hitting Y will abort the saving of the options you have
just entered.
Once you have answered all the questions correctly you will exit the
program and re-running it will then run using those settings.
Should you wish to re-configure then passing the parameter CONFIG to
Addkill will re-run the configuration procedure.
All configuration data is held within the program file itself.
Parameters
----------
Config - (as above)
LIST= - this forces Addkill to use a list other than ADDKILL.LST and is
of the format LIST=D:\BBS\DAILY.LST , note the lack of space
between the = and the drive,path and filename.
PACK - Forces Addkill to scan it's data files and the directories
for each and if a file no longer resides in that directory
it's name will be removed from the data file.
? or HELP - Displays the possible parameters.
running with no parameters makes Addkill look for ADDKILL.LST in the
current directory , if none is found then a file selector appears ,
hitting Cancel aborts the program , otherwise select the folder you want
to look at and enter *.* as the name , Addkill will then process that
directory , if you use the fileselector the FILE_ID.DIZ option will be
ignored.
Should you wish to abort the program during a long run then enter shift 1
(!) and the Addkill will exit after testing the next archive.
FILE_ID.DIZ support
===================
Addkill stores copies of the description in file_id.diz in the same folder
as the listed files.bbs (second path in the Addkill.lst) , so it is not
recommended you use this option on drives which are nearly full. (miss out
the second path in the Addkill.lst file)
the data is stored there until the program is finished for any reason ,
it is then scanned and the files.bbs is checked for matching archives
,if found the description is changed to that in the FILE_ID.DIZ file.
If no file is matched then the filename and description is appended to the
bottom of the FILES.BBS.
The method Addkill uses has the advantage that only those archives with
file_id.diz files in them will cause the archivers to be run , saving time.